let Service = require('node-windows').Service;
 
let svc = new Service({
    name: 'LetsTakling',    //服务名称
	description: 'LetsTakling', //描述
    script: 'D:/Resp/LetsTalking/bin/www' //nodejs项目要启动的文件路径
});
 
svc.on('install', () => {
  svc.start();
});